Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(428): Return only one message per table in subscription #429

Merged
merged 1 commit into from
Oct 14, 2023

Conversation

joshua-spacetime
Copy link
Collaborator

Fixes #428.

Before this change, if you had multiple queries for the same base table as part of a subscription, you would receive multiple DatabaseTableUpdate messages referencing the same table.

Clients did not expect nor handle such cases.

Description of Changes

API and ABI

  • This is a breaking change to the module ABI
  • This is a breaking change to the module API
  • This is a breaking change to the ClientAPI
  • This is a breaking change to the SDK API

If the API is breaking, please state below what will break

Expected complexity level and risk

How complicated do you think these changes are? Grade on a scale from 1 to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex change.

This complexity rating applies not only to the complexity apparent in the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning ways.

Fixes #428.

Before this change, if you had multiple queries for the same base table
as part of a subscription, you would receive multiple DatabaseTableUpdate
messages referencing the same table.

Clients did not expect nor handle such cases.
Copy link
Contributor

@cloutiertyler cloutiertyler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@joshua-spacetime joshua-spacetime merged commit a66faa4 into master Oct 14, 2023
5 checks passed
@joshua-spacetime joshua-spacetime deleted the joshua/428/fix/subscription-table-updates branch October 14, 2023 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Return only one DatabaseTableUpdate per table in a subscription
2 participants